package com.tangding.hprose.api.server.command.impl.testForData;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @description 
 *
 * @author Ranger
 * @version 2017年12月6日_下午5:06:10
 *
 */
public class TestQueryTableUsers implements TestCommand {
	public static List<Map<String, Object>> products = new ArrayList<>();
	@Override
	public Object products() {
		if (products.size() > 0) {
			return products;
		}
		Map<String, Object> product = new HashMap<>();
		product.put("control", 5);
		product.put("uid", 1034);
		product.put("userId", "1002");
		product.put("userName", "游侠");
		product.put("totalMoney", 1002);
		product.put("firstMoney", 100);
		product.put("totalRechargeTimes", 100);
		product.put("oneAdd", 100);
		product.put("score", 500);
		product.put("scoreBank", 1000);
		product.put("inGame", "森林舞会");
		product.put("roomId", 102);
		product.put("tabelId", 1);
		product.put("registTime", "2017-1-23");
		product.put("onlineTime", "1小时");
		products.add(product);
		
		product = new HashMap<>();
		product.put("control", 5);
		product.put("uid", 1033);
		product.put("userId", "1001");
		product.put("userName", "阿娇");
		product.put("totalMoney", 1002);
		product.put("firstMoney", 200);
		product.put("totalRechargeTimes", 100);
		product.put("oneAdd", 100);
		product.put("score", 500);
		product.put("scoreBank", 1000);
		product.put("inGame", "捕鱼达人");
		product.put("roomId", 103);
		product.put("tabelId", 1);
		product.put("registTime", "2017-1-23");
		product.put("onlineTime", "4小时");
		products.add(product);
		
		product = new HashMap<>();
		product.put("control", 1);
		product.put("uid", 1032);
		product.put("userId", "1003");
		product.put("userName", "皓月");
		product.put("totalMoney", 1002);
		product.put("firstMoney", 100);
		product.put("totalRechargeTimes", 100);
		product.put("oneMinuse", 100);
		product.put("score", 500);
		product.put("giveTimes", 5000);
		product.put("giveScore", 150002);
		product.put("scoreBank", 1000);
		product.put("inGame", "捕鱼达人");
		product.put("roomId", 103);
		product.put("tabelId", 1);
		product.put("registTime", "2017-1-23");
		product.put("onlineTime", "3小时");
		products.add(product);
		
		product = new HashMap<>();
		product.put("control", 2);
		product.put("uid", 1035);
		product.put("userId", "2051");
		product.put("userName", "苍井空");
		product.put("totalMoney", 1002);
		product.put("firstMoney", 200);
		product.put("totalRechargeTimes", 100);
		product.put("oneAdd", 100);
		product.put("score", 500);
		product.put("scoreBank", 1000);
		product.put("giveTimes", 10);
		product.put("giveScore", 1024);
		product.put("inGame", "捕鱼达人");
		product.put("roomId", 103);
		product.put("tabelId", 1);
		product.put("registTime", "2017-1-23");
		product.put("onlineTime", "4小时");
		products.add(product);
		
		product = new HashMap<>();
		product.put("control", 0);
		product.put("userId", "1025");
		product.put("userName", "陈冠希");
		product.put("totalMoney", 1002);
		product.put("firstMoney", 200);
		product.put("totalRechargeTimes", 100);
		product.put("oneAdd", 100);
		product.put("score", 500);
		product.put("giveTimes", 0);
		product.put("giveScore", 0);
		product.put("scoreBank", 1000);
		product.put("inGame", "奔驰宝马");
		product.put("roomId", 103);
		product.put("tabelId", 1);
		product.put("registTime", "2017-11-23");
		product.put("onlineTime", "4小时");
		products.add(product);
		return products;
	}

}
